package com.damon.android.interview.beans;

import java.util.List;

/**
 * Created by Damon.Han on 2018/10/18 0018.
 *
 * @author Damon
 */
public class Menus {
    private List<ButtonBean> button;

    public List<ButtonBean> getButton() {
        return button;
    }

    public void setButton(List<ButtonBean> button) {
        this.button = button;
    }

    public static class ButtonBean {
        /**
         * name : 盈识动态
         * sub_button : [{"name":"会员勋章","sub_button":[],"type":"view","url":"http://mp.weixin.qq.com/mp/homepage?__biz=MzUzMTAxMjE4NQ==&hid=1&sn=77d1b45dec9313eff325c0a6d9f0c456&scene=18#wechat_redirect"},{"name":"产品宝典","sub_button":[],"type":"view","url":"http://mp.weixin.qq.com/mp/homepage?__biz=MzUzMTAxMjE4NQ==&hid=2&sn=321e2068a0520ed85f90d720cbda4028&scene=18#wechat_redirect"},{"name":"说说经代","sub_button":[],"type":"view","url":"http://mp.weixin.qq.com/mp/homepage?__biz=MzUzMTAxMjE4NQ==&hid=3&sn=b22e2273cf5e705ff5771b5c3cf4dbb4&scene=18#wechat_redirect"}]
         */

        private String name;
        private List<SubButtonBean> sub_button;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<SubButtonBean> getSub_button() {
            return sub_button;
        }

        public void setSub_button(List<SubButtonBean> sub_button) {
            this.sub_button = sub_button;
        }

        public static class SubButtonBean {
            /**
             * name : 会员勋章
             * sub_button : []
             * type : view
             * url : http://mp.weixin.qq.com/mp/homepage?__biz=MzUzMTAxMjE4NQ==&hid=1&sn=77d1b45dec9313eff325c0a6d9f0c456&scene=18#wechat_redirect
             */

            private String name;
            private String type;
            private String url;
            private List<?> sub_button;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public List<?> getSub_button() {
                return sub_button;
            }

            public void setSub_button(List<?> sub_button) {
                this.sub_button = sub_button;
            }
        }
    }
}
